﻿<%@ Page Language="C#" MasterPageFile="~/OperaEntry/MasterPage.master" AutoEventWireup="true" CodeFile="Types.aspx.cs" Inherits="OperaEntry_Types" Title="管理页 - 分类管理" %>

<asp:Content ID="Content3" ContentPlaceHolderID="OpMain" Runat="Server" >
    <asp:Label ID="MessageLabel" runat="server"></asp:Label>
    <br />
   
    <div>
        <asp:HiddenField ID = "typeid" runat="server" />
        分类名：  
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        图片： 
        <asp:FileUpload ID="FileUpload1" runat="server" />
        <asp:Button ID="Button1" runat="server" Text="Button" />
    </div>
  
    <script language="javascript" type="text/javascript">
    var subwin = null;
    function editNode(obj,typeid,tyepname,fatherid)
    {
        subwin = window.open("TypeEdit.aspx?typeid="+typeid,'编辑分类','channelmode=yes,width=600,height=600,location=no,menubar=no,resizable=yes,scrollbars=no,status=no,titlebar=no,toolbar=no');
        subwin.focus();
        
    }
    window.onfocus = function()
    {
        if(subwin)
        {
            if(!subwin.closed)
            {
                subwin.focus();
            }
        }
    }
    </script>
</asp:Content>
